package demo5.example;

/**
 * @program: java-generic
 * @description:
 * @author: bjc
 * @create: 2021-08-15 15:50
 */
public class Animal {

    public String name;

    public Animal(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Animal{" +
                "name='" + name + '\'' +
                '}';
    }
}
